﻿<?xml version="1.0" encoding="utf-8"?>
<customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2009/07/customui">
	<!-- http://msdn.microsoft.com/en-us/office/aa905530.aspx -->
	<ribbon>
		<tabs>
			<tab idMso="TabMail">
				<group id="FlexFile" label="Flex-File" insertBeforeMso="GroupMoveActions">
					<button id="FlexFileSelection"
                  size="large"
									getLabel="GetLabel"
									keytip="FF"
									getScreentip="GetLabel"
									getSupertip="GetTooltip"
                  onAction="OnFileItemsFromRibbon"/>
				</group>
			</tab>
		</tabs>
	</ribbon>
	<!--
	<ribbon>
    <tabs>
      <tab id="MyTab"
           getVisible="MyTab_GetVisible"
           label="MyTab">
        <group label="MyGroup" id="MyGroup" >
          <button id="MyButton"
                  size="large"
                  label="MyButton"
                  imageMso="HappyFace"
                  screentip="My custom screentip"
                  supertip="My custom supertip"
                  onAction="OnMyButtonClick"/> 
        </group>
      </tab>
    </tabs>
    <contextualTabs>
      <tabSet idMso="TabSetAttachments">
          <tab idMso="TabAttachments">
            <group label="MyGroup" id="MyAttachmentGroup">
              <button id="MyButtonAttachments"
                      size="large"
                      label="MyButtonAttachments"
                      imageMso="HappyFace"
                      onAction="OnMyButtonClick" />
            </group>
          </tab>
      </tabSet>
    </contextualTabs>
  </ribbon>
  <backstage>
    <tab id="MyBackstageTab"
           label="My Backstage Tab"
           getVisible="MyBackstageTab_GetVisible">
      <firstColumn>
        <group id="regularGroup"
              label="My Regular Group"
              helperText="My Regular Group Helper Text">
          <primaryItem>
            <button id="MyHeroButton"
                    label="My Hero Button"
                    imageMso="MagicEightBall"
                    isDefinitive="false"
                    onAction="OnMyButtonClick"
                    screentip="Click to spin the magic eight ball."/>
          </primaryItem>
          <bottomItems>
              <hyperlink
                id="hyperlink"
                label="Office Developer Center"
                target="http://msdn.microsoft.com/en-us/office/default.aspx"/>
              <imageControl id="userImage" getImage="GetCurrentUserImage"/>
              <layoutContainer id="vertical"
                               align="left"
                               layoutChildren="vertical">
                <labelControl id="labelControl2" label="Vertical layout"/>
                <radioGroup id="myradiogroup1" label="Options">
                  <radioButton id="rb1" label="Option 1"/>
                  <radioButton id="rb2" label="Option 2"/>
                  <radioButton id="rb3" label="Option 3"/>
                </radioGroup>
              </layoutContainer>
              <groupBox id="mygroupbox1" label="Check Boxes">
                <checkBox id="check1" label="Check Box 1"/>
                <checkBox id="check2" label="Check Box 2"/>
                <checkBox id="check3" label="Check Box 3"/>
              </groupBox>
              <layoutContainer
                id="vertical2"
                align="left"
                layoutChildren="vertical">
                <comboBox id="comboBox" label="Color ComboBox">
                  <item id="cbi1" label="Blue"/>
                  <item id="cbi2" label="Magenta"/>
                  <item id="cbi3" label="Cyan"/>
                </comboBox>
              </layoutContainer>
          </bottomItems>
        </group>
        <taskGroup id="taskGroup"
            label="My Task Group"
            helperText="My Task Group Helper Text">
          <category id="MyCategory" label="My Category">
            <task id="MyTask"
                  tag="MyTask"
                  isDefinitive="true"
                  label="My Task"
                  imageMso="NewTask"/>
          </category>
        </taskGroup>
      </firstColumn>
      <secondColumn>
        <group id="myemptygroup">
        </group>
      </secondColumn>
    </tab>
  </backstage>
	-->
	<contextMenus>
		<contextMenu idMso="ContextMenuMailItem">
			<button id="FileItem"
							getEnabled="OnCheckSelection"
							getLabel="GetLabel"
              onAction="OnFileItemsFromContextMenu"/>
		</contextMenu>
		<contextMenu idMso="ContextMenuMultipleItems">
			<button id="FileItems"
							getEnabled="OnCheckSelection"
							getLabel="GetLabel"
              onAction="OnFileItemsFromContextMenu"/>
		</contextMenu>
	</contextMenus>
</customUI>


